<?php
$node = Node::model()->findByPk($_GET['id']);
$this->breadcrumbs=array(
	$node->title=>array('/node/view', 'id'=>$node->id),
	'历史版本',
);

$this->menu=array(
	array('label'=>'管理版本', 'url'=>array('admin')),
);

$this->category = HandleBox::getCategory();
?>

<h1>“<?php echo $node->title; ?>“ 的历史版本</h1>

<form action = "<?php echo Yii::app()->homeUrl; ?>?r=noderevision/diff" method = "post">

<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
	'viewData' => array( // 传递附加数据
			'count'=>$dataProvider->totalItemCount,
			),
)); ?>
<br />
<input type = "submit" name = "submit" value= "比较选中版本">

</form>